#-*- coding:utf-8 -*-
from django.db import models

# Create your models here.


class spider_statues(models.Model):
    class Meta:
        verbose_name=u'爬虫的状态记录表'

    peoject_name=models.CharField(max_length=100,help_text=u'爬虫工程名字')
    spider_name=models.CharField(max_length=100,help_text=u'爬虫名字')
    spider_job_id=models.CharField(max_length=250,help_text=u'爬虫的事物id')
    staute=models.IntegerField(default=0,help_text=u'爬虫状态  0排队中 1在运行 2完成 3启动失败')
    create_time=models.DateTimeField(auto_now_add=True,help_text=u'爬虫的开始时间')